package org.x.user.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.lang.Long;
import java.util.Date;

/**
 * 角色权限关联表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@Table(value = "sys_role_acl")
public class SysRoleAclEntity {

    /**
     * 角色ID
     */
    @Id
    @Column(value = "role_id", comment = "角色ID")
    private Long roleId;

    /**
     * 权限ID
     */
    @Id
    @Column(value = "acl_id", comment = "权限ID")
    private Long aclId;

    /**
     * 创建时间
     */
    @Column(value = "created_time")
    private Date createdTime;

}
